package spynx.net;

import java.net.URL;

public interface ICacheManager {
	void addCacheNameResolver(IUrlCacheResolver resolver);
	void removeCacheNameResolver(IUrlCacheResolver resovler);
	
	String resolveCacheName(URL query);
	void archiveCache(URL query, String cacheFile);
	
	int getCacheExpiredPeriod();
	void setCacheExpiredPeriod(int secInterval);
	
	boolean isExpired(String cacheFile);
}
